package com.dingreading.cloud.subject.service;

import com.dingreading.cloud.subject.entity.CourseVideo;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface CourseVideoService extends IService<CourseVideo> {

    List<CourseVideo> getByCourseId(Long courseId, Integer enabled);

    // 更新观看次数
    void updateLookNum(Long id);

}
